package com.ghp.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ghp.common.model.dto.file.FileChunkDTO;
import com.ghp.common.model.entity.FileInfo;
import com.ghp.common.utils.response.ResponseResult;

/**
* @author ghp
* @description 针对表【tb_file_info(文件信息表)】的数据库操作Service
* @createDate
*/
public interface FileInfoService extends IService<FileInfo> {

    /**
     * 上传文件预检
     * @param fileChunkDTO
     * @return
     */
    ResponseResult uploadFilePrecheck(FileChunkDTO fileChunkDTO);

    /**
     * 上传文件
     * @param fileChunkDTO
     * @return
     */
    ResponseResult uploadFile(FileChunkDTO fileChunkDTO);
}
